fix errors, upload pdf