Fix safe stopping bot