fixes self-reference in selector class