remove the space before `distance` and after `nearestAvatarDistance`