Pause bug

removal of the event listener for on error.