rebuild PDF