fix echo back;fix New line format