remove unnecessary comment from writer