bug fix on variable name.
fixed to not use from/to_text