removed log dir properly