fix bug that crashes on block contents