fixed using wrong metadata