Fixed command line error when command null