fixing the request config