made all the tabs error-safe(r)