fixed type: matchesSelector -> matchSelector