fix exitButton