fixed model template attribute changed events