fix paths to be relative