fix creation of payload transformation