FLAG_MAXFUNEV bug

Fixed a naming issue