Fix crash when cutWord is nil