fixed bug on metamodel reloading