removed background from distance