modify decodePayload() #49