fix a bug in save