fixed home dir creation