fix a few bugs, add MDADiv model