fix range control min/max