correct log dir