Fixes Update Profile Avatar bug