fixed foreign key issue when texting added text to models
foreign key fix