fixed server error returns