BUg fix about exit button