Fixed duplicate attribute entry problem