check that casts still use zap