mkdir logs fix