switched out get_request() function in server