fixed teachers error