fixing up CMD