fix bugs in documentation page interface