fix a warning in backtrace
correct loading of model data after refactoring