entity: fixed hasMany