fixed validationbug on reset