fix flash error dialogo