Modify some write errors.