fix wrong reference paths.