fixed bug in save_info