tab selection changed, but didn't work correct