fix dot problem