remember history_tmp condition