clearing datasource and delegate properties