minor fixes
fix pdf