fixed bug where relationships were carried over to next model