Fix in validation callback