fix matrix exclusion