fixed bug with accidentally idling after failure