Fix checkRiZhu bug.