So what exactly is your question? Is it that this is behavior that you don't want to happen? If so, you'll need to debug your code. If you need our help, you'll need to find out where the bugs are in...