complete replace element_obj