replacedBlocks bugfix