i was not understanding the references data type in rails, changed to more explicity declaration and removed some fields that shouldnt have been there in the first place