fixed issue with orpha directories