add some deallocation funcs