Fix a couple of bugs.
toc