build models fixed