clear delegate