fix mistake in Match class
add some document