remove max,min macro