Range calculation problem is is fixed