fix teachers index