fix some bugs; parse_yaml file to look into fields of bundles