before vlaidator
terminar registo