fix #2, adjust the wcwidth for unicode characters