fix dialog