clean last mode