correct bad references in documentation