Fixed Cannot read property pdfview of undefined