Fix PCA pipeline issue #263

cc #263