Fix emperor autostart