fix issue with already existing modules dir