remove auto exit