HTTPException path fix