BTW, this may be something you might want to look through.
See Trap#14. The problem you had discussed here.
.