Fix typos that caused match to fail