fixed problem with chemicalComponents not being added to the model