fix paths, for lack of a better solution