loggerthread fix