fix string contain 'x'