Fixed an error with body parsing