fix not agg last_state