fix recursive dir creation