fixing s3 link for pdf