fix button, add to_pdf