validate control