Fix payload assigment bug.