Minor fix to utils