fixed matchesSelector