Fix saving errors.