minor tweak to selector API