remove duplicate assignment.