From the description which you have given here, I would say the fix is very much easy. This is just an assumption on what you have said. It would be great if you can share the source code so that I can cross check on the same.
Let me know if you like my bid so that we can move forward on the conversation.
Thank you
Davis | 10hourcoder