fix db.sql bugs and delete the MP.mwb file which is useless.