fix errors with sti models