more mdb fixes
fixed mdb
fixed rescan