Well, Im not surprised this line would work elsewhere in your script ... seems like this is a contextual error, depends on whats happen'n at the time - a tough bug to catch but as you can appreciate, without the script, cant offer much help (speaking for myself anyways).