fix for get_request() so that buf_ isnt overwritten