fixing prims....