Fix bug in utils.log function on client side