Fixed a bug with utils.log