fix modules dir in config