fix bugs in LogManager