danger_distance fix