Weird, can you try to move that specific routine somewhere else? Let's say at the top of your code and jump over with a goto?