fixed ref_TE name bug