exit breaks the terminal(bugfix)

Take it, I'm right