fixed flash loading