fixes #12 broken ToC for base64 encode