Fixed belongs_to and _id fileds