temporary remove listener for delete onflush