Fixed bug in get_request_value