fixes sti models and migrations