fix typo in TextLevelRule RuntimeException message
fix RuntimeException during command line profiling