fixed flash to persist over redirect