fix concatMatsHOrizontal