clean up the paths