minor refactor on child selector behavior