Can you show us some code of what u are doing ?
hard to say whats wrong without seeing more