fix pca parakeet optimization error