remove maybe-prim