It is now difficult to understand the issue from the given post.
Please improve your question by incorporating more contextual information.
This would mainly be your objective, your actions, and finally the issue.
It is always helpful if you add your objective along with the desired output, your actions along with the respective codes, and the issue with enough diagnostic information.