fix glitch in save