fixing the range