fix avatar dialog