Got rid of the setting of io_write_phase.