make isValid is true