refactor ResUrl