bugfix: sometimes hangs, autostart