Fix saving details

Should fix #53