is_teacher bug