fix hasMany after refactoring with Factory.buildList