addBlock fixes