fix bug where dl_append_block uses the wrong block