added errors when template does not match the dom when stitching