add flash to header