logging fix No.2