Fixed checkReachIn bug