max num variable name fix
Revert "max num variable name fix"

This reverts commit f9838ebf33926bb446b6ceffa5404a687c63b766.
max num variable name fix