Directory dependence fix

Directory dependence fix