fixing log dir