fix the flash problem in school edit