Fixed a bug in read-complete-block