404 and 500 handler overrided