Fix errors that contain ';' characters