fix the dist float