fixed wrong hasMany