fix substring & xiang'key style