Fix reference issue when adding parameters to requestData