make Match.toString null safe