Fix starting logic.