register dialog fix