unlink the values of annotations that are the default type
fix document.numFieldsComplete to account for duplicated types