sep-dir creation fixed