get paths correct