Fix commandline slicing.