in write results bug