matchesSelector判断bugfix