fixed type handling for circular dependencies
drwxr-xr-x - ir