fix error on ctrl+c
back to .js