fix command interface