params[key] should be replaced with new cleanParams()