Zariski rings and flatness of completion