improve flashes