PDF viewing fix