bugfix dot in last char of last sentence in getSentence
bugfix getSentence, null pointer