clear invalid field