bugfix: redirects with subpath