correct case conversion also for lisp-replacements