fixed matrics generated
don't know what changed