tweaks to make hippocampus_hmm_er work well