removing unnecessary api request parameters