Crash when saving external model