restoring BOM