Fixed character escape issue on echo