trailing slash in named location causes emergency error