remove slash-n from cmd