Missing variables check in utils.php