fixed logfile header issue