fix in-word breaking

fixes #362