fix escape issue
logging and checksum update