fixed payload parsing with form data