add "\r" in cli