fix cout.w