Now the range error is fixed