will remove out of the if statement so that style-vendor is not duplicated