fixing the range values