#252: command/profile: fix a bug of "cortex profile use"