refactor urlArgs