remove duplicate assignment