fix #230 add protection code in strings