That’s a lot of code to sort through out of context. Please post the URL and explain how and where to see the problem.