Fixed nullpointerexception
Added block-item and item-block conversions