This is because you didn't beat the cream cheese enough. Or it could be the cream cheese was cold.