Fix crash in /save