more server error handling