fixed error message on non-matching lines