cleaning up broken null support in writer.