automatic set urlkey for location