fixing parsing request