improve the display of avatar