Fixing broken writer.