add save and load to fix arc bug