fixes failures in test-find-invokes

- works around weird #' problem