added _mhash to __getstate__