error dialog fix