fix matrix ST