fix ms-repeat bug