Fix max value in config