Try putting you code in the post where you think the problem is and not attach your complete code.