change the value of Maxnumf from 250 to 50