fixed problem with selectors