tree vs string bug