removeweights code, make NoMenu consistent