Correction de isValid