Fix disable autostart.