Fixed error in the error handler (sic!)