another attempt to fix the mdb_expansion cmd