修复bug：exit时调用put