fixing paths for data files