fixed range check