fix matrix display