fix create dialog