Fixed blockId bug