Fix resource_name for TeacherResource