fix append block bug