made tabs more flexible