fix dot and line