fixed flash messaging