fixed exit in main story