fix reboot to recovery issue