fixed ctrl+c event