Fix bug duble header in log.