refector ref widget