corrected hg-repeat