Remove trailing dot