escape loop if keyword is bigger than word slice