try to workaround path decode issue; fix "Reference Model should be a string type" warning