preventing changes to payload