Revert "fix issue with case matching"

This reverts commit 98d0e21cab4096dabaab29927006909e71c246e8.