Fixed PDF issue (still opens in another window… to do later)