avatar upload fix