Fix for save issue with file_advanced