set type of row_match after multiplication