fix email ctrl+c issues