remove unneccessary flush