remove duplicate definitions