Prim fix