fix a bug, %% character escapes
try some methods for string