The big boys are viewing this threads, and have more experience then me, so maybe will be able to find the issue. Though, I recommend you tell everyone what line 890 and 985 are according to your current code.
Though my guess is fancylog or something.