correct the paths