fixing request genereation