fix PrintWriter