flush output