Fix: change field length for maxtotal