fixed phi bug in MHT