warning phrases and typo are fixed
a bug is fixed: Now the range values are not able to change from NaN