refactor url links