ensure header is written when writing a block
remove cache properties from ui