replace poor debug log with simple System.err.println
opps, forgot copyright