fixed payload parsing error