invisible returning for km
misc fixes for pretty_pval