Remove unnecessary write