fixing directory workspace inheritance