fixed tab error indicator bug