get the paths right