fixed pdf support