add commented 404/500 handler