modify url fix to work with params with more than 2 vals