Fixed syntax error in create_map_metadata