change of max value of var max