fix util in templates