resolved potential issue of not accessing each block