fix pca_net hashinghist function