fix sd-repeat + sd-viewmodel