fixed avatar issue