fixed optimizer max value