small improvement in mhex