fixes models and models spec