modify zongxuan to prevent infinity loop