added a double check to remove excess data before posting to the accents collection