adding error reporting for existing tag not matching new tag type