Fix for code that does system.setout