fixed error in debug output of mdb_dump
tried to fix mdb_expansion, need to be tested