Fix duplicated attribute