make command object smaller