fixed parsing error in _accept_response