fixing flash on iOS