save errors