solve cases like xi'an