Fix on saving user's avatar