fix bugs for todomvc (sd-if + sd-repeat)