fix a few pdf design issues