fix bom + extension use-cases