validation corrections while register