changes to ValidateBlocks