tweaks to get metadata