Fix formatting for flashes