fix up avatar_changed check