fix error when hitting missing docs