adopt db.NewIterator change

The db.NewIterator method change to two paramters in last version