remove delegate in dealloc method