Fix block type define.