fixing how primary models are treated during build