Fix maxturn.