fix directories regarding of config