fixed some *_Out file writes