small adjustments to analyze_models