Bug fix for meta_data