fixed join string in advanced search