Remove duplicate flush.