fix log_history.json cached problem