hack to disallow pdf gen