adding versions to pathref (and do them right), eliminate the hacked version from editor