eliminate the duplicate attribute entry