fix for url parameters listed in the wrong order