Fix the url to support setting params