handle undefine strings  in text binding