a nicer error message when matching fails
build