get rid of errorhandler