dialog fix