small fix for url parameters building.