fix type for vartree vars in connection frame