made sure that the flash package was fully cleaned up