bug fix to dump the full trace (instead of the last epoch)