fix some bugs with blockchain dl