remove old casts