fixed bug where header was displayed even if task_dump list was empty