fix checking the avaliability for word