fixed the flash error bug