Solving Flash errors