fix runaway backup bug