fixed lack of Matrix dependency