fixed check autostart