Fix reading the 'match' variable