writer schema fix