Delete useless Prim