fix route path for non-root pages
fix docs