fix bug of avatar path