clean up duplicate strings