fixes #1, using wrong metadata attribute for folder name