use the right max token