fixed error in scoping vars
added unicode conversion to tcl string