fixed config dir creation