fix undefined variable verification