Fix linting errors in pageinfo code