sosValido method fixed