IPR; bug fixes in hap_map