fix matrix-recompose