fix model analysis