fixed error in double width characters