fix maxnorm