minrange fix