fix dialog view error