fix editing when avatars are disabled