Fixed obj dir creation