fix issue in save