Yes, perhaps. But we'd have to see the code that is giving you trouble, an explanation of what exactly it's supposed to be doing, what it's doing instead, and what you've tried to do to fix it already (so that we don't suggest the same things all over again).