fixed some issues with request body parsing.