Fix debug log