distancefield minor fix