stupid bug for sentence length checking