I am sorry, I have not touched this in years and I am not sure how I would even go about fixing it without straight up asking another coder to just do it, but if anyone wants to submit a fixed version to me iall post it and give credit for the changes but as is right now I just don't have the time to sit down and learn the problem :(