Fix a few small bugs
Recreate pdf