thumb dir creation fix