Fixing issues with param parsing of http requests