change target framework to 4.0
fix distance