use console.log instead of util.print for errors