Fixed error where user avatar would not update