fixed has_many relationship