corrected command line weighting error