fixed bin dir creation