Fixes bad path prefix