makeNewUrlCode has been fixed