tweaks for extracting metadata