use a property (as for isDir); not the id