fix line breaking issues with periods