fixed the flash thingy