changing some util.log() calls to util.debug()