bugfix in error handler