fix dialog view