This can happen for two reasons: 1) You used too much cornstarch. I highly recommend weighing cornstarch rather than scooping it. Too much will result in pudding that is too thick, rubbery, and tastes like cornstarch. 2) You did not cook the pudding long enough. Cook it for the proper amount of time so the cornstarch fully dissolves.