fixed vartree order issue (that shouldn't exist)