fixed teacher index