fixed _toVALUE functions