fix double dot and one case with single dot