add fail at flush