fixed bug where you couldn't exit