preserve periods at the ends of strings