Fix cancel on autostart set