More robustness to protect against malformed requests