prim fix