Improve output in utility.php