Fixed uri in error handler.