Fix errors (hopefully).