some autostart fixes