fix exit command