check selector before set filter