fix bug: clear delegate & dataSource in dealloc