changed pdf2chart module