fixed _validate_response