entityMatrix fixed.