clean primitives