fix body parsing error