change keyConvert to getPath