prim try fix