fix tabs index