Fix errors for data disappearance and wrong formula