modified moisture read value
added check to string legth to implmement commend seterr