fixed heading format for flushing data