Be sure to fully soften your cream cheese and butter. This creates a super smooth base and eliminates any little bits of raw cream cheese or butter in the frosting. In addition, be sure you thoroughly sift your powdered sugar to avoid clumping.