fix parsing of dots