Fixing set payload bug which didn't allow you to set the payload properly