Fix a bug of command result template.