logs dir fix