restored the error handler
fixed error the the URI didn't resolve to any controller