fixes matrix checks w.r.t. the last commit