temp fix for output writing again.. last time