fixing hyphenation bug whenever there is a 'hard' hyphen in the text