Fixed pdf issue for notifications