make another function of command.c static