fix for multiple targets for selector