Removing final dot in history