fix N+1 error