fix when reset log