Fix crash bug when load private-mode entry