temp fix for output writing again