fixed another bug with dot