remove the conditional variable & only save to buffer when the reference frame got changed