quit handler if parsing wrong