Fixed getPrevDot access