fixed escape issue of %