fix rendering of pageBlocks