a tiny adjustment at log.c