removed the foldRight
fix up the loading of the metadata parser