fix "core show profile" parsing.