fix avatar issue