fixed modeline
fixed exit upon interruption