path prefix fixing