bug fix:character escape problem