fallback for failed metadata extraction & minor fixes