fix the teacher open flash bug