cache last_phase