fixed x-ref issues in documentation