fix paths for plots