fixed default value for fields when min and max exist