go to IDLE after error