check >= 500 error status