Fix typos which produced double '.' in the output