fix request body parsing