fixed has_many relationships