fix command lines
typos and small enhancement