close validation