Fix error in selector in inValid() method