fixing request parsing.