resource transformRequest bug fixed