add flash to the header