The easiest option is to share your code so we can take a look and give you a to the point answer.