Make sure it is at room temperature before mixing. It also helps to press the cream cheese against the side of the bowl with a rubber spatula to remove lumps.