fixed lack of range case