pca mapping, mwk selection var bug fix