Result write fix