Fix for looping payloadhash and fees