fix some title => name, and add :inverse_of to has_many :through associations to satisfy validations