warnings removed in primitives