removed crtl-c error capture