fixing todo mvc bug