Your cream cheese should be room temp, without any random cold spots. If it's too cold, it will be harder to mix, and you may end up with clumps. Also, make sure you don't rush the mixing process and use a hand-held mixer if possible.