removed flush[0] error