fix duped attribute