Fixed an issue in arranging request parameters.