callback after flush plz