fixes message of logger.end()