fixed ctrl+k quitting the script