support nested selectors