fix limits in config input