fixed typo math for match