mix 1 tablespoon (25 grams) of cornstarch into the frosting. if it is still too runny, add a little more. continue to add cornstarch until you are happy with the texture. avoid adding more than 1/2 cup (62.5 grams) of cornstarch per 8 oz (226 grams) of cream cheese.