validation on advanced searc