fix bug of c command action error