to fix non-reboot autostart issue