get paths right