remove empty block in db.js