Can you share the code snippets which is giving you the error so that we can look into the matter. I think its the problem with the syntax of the code.