in reply to Can I have some simple solution

I assure you that it is working. It's doing exactly what you told it to. Perhaps you should consider telling us what you *expected* it to do, and how what it does differs from that.