fixed exportPDF views and sidebar navigation