fix use-after-free
fix use-after-free

syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,iychoi/syndicate-core,iychoi/syndicate-core,iychoi/syndicate-core,iychoi/syndicate-core