fix empty logs directory