better handling of old model files