There is definitely some problem in your code and if you share that we may be able to help