correctly page trailing slash