fixed a few compile errors due to new block architecture