clean up writer field that did not compile