Move flush statement