url /dict refactoring