Fixed error in method match.