fix issue with creating multiple models in the same DB