fix log.inc.sh