remove fminmaxs since it's redundant with fminmax