Fix errors var