has_many relationship corrected