correct bug of logging count display