flushing console output